Skip to main content

Active Directory

Overview

After successfully installing AD on the machine, we need to set up our AD. In this document we will show you how to set up Active Directory and add new users/ groups/ computers in our AD. After that we will have to link our LDAPAdmin with Active Directory. Now finally we need to integrate our LDAP with SafeSquid and we will be able to see all the created users and user groups in our SafeSquid dashboard.

Prerequisite

this link: https://dinika-15.medium.com/installing-active-directory-on-windows-server-2012-r2-e9e614770588

Client Scenario

Here we will create an Active Directory named mann-ad.safesquid. Then we will create a new user who's First Name is 'Mann' and Last Name is 'Prajapati'. This user's directory will be mann-ad.safesquid and his Logon name will be 'Mann'. After this while linking LDAPAdmin with AD we will give the Connection Name as 'SafeSquid AD' and the Host IP as 192.168.0.108. In the Base section we'll enter 'DC=mann-ad, DC=safesquid'. Now while creating account at the end set the Username as Administrator@mann-ad.safesquid and put a strong password. Next step is to integrate LDAP with SafeSquid. So in Ldap Basedn enter 'dc=mann, dc=safesquid' and in Ldap Domain enter mann.safesquid.

Procedure

Step 1: To add or view the users

Click on Active Directory Users and Computers.

in tools section of AD server, going to active directory users and computers

You will see your AD.

you will see your AD

You can add new users, groups, computers etc. by right clicking on the user icon and select the required choice.

right clicking on users and selecting new the selecting user

For example to create user select the user option and enter required information.

entering the required information

Enter your password. Then click on finish.

setting up a strong password

Step 2: Linking LDAPAdmin with AD

Click on the connect Icon on the top left corner.

in LDAPadmin clicking on connect icon

Click on new connection.

clicking on new connection

Enter the required details in the fields.

entering the IP address of the windows server

Enter the Username and the password of the Account of the Windows Server. And click on test connection. If anything goes wrong, then check whether you have provided correct details or not.

entering the username and password in username password field

Click on Ok.

after connection is successful clicking on ok

Double click on the connection you will see something like this.

by double clicking on new connection you will the list

But we don't want this so go back and right click on the connection and click on properties.

right clicking on created connection and selecting properties

Now click on Fetch DNs and select the first one.

clicking on fetch DNs and selecting the the basedn

Now you will see the list of all the users.

showing the list of all users

Step 3: Integration with SafeSquid

Now go to http://safesquid.cfg/ and click on configure.

clicking on configure in safesquid interface

Click on Application Setup and then click on Integrate LDAP.

selecting integrate LDAP in application setup

Click on add new '+' icon on the bottom right corner.

clickng on add new button to add

Enter the following details

For password click on the black arrow.

clicking on arrow icon in ldap password field

And enter the Windows Server password and confirm it.

entering and confirming your password

Fill the following details according to your Configuration.

filling the required fields as per the configuration

Click on Blue tick mark and then save it.

Now select the LDAP Entities.

going to LDAP entries

And You will see the list of all the users.

seeing the list of all the users from the AD

Feedback